package com.sansan.qiangji.form.warehouse;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class ProductBindingBoxForm {
    @NotEmpty(message = "入库单编号不能为空")
    private String pushOrderCode;

    @NotEmpty(message = "物料编号不能为空")
    private String productCode;

    @NotEmpty(message = "物料箱号不能为空")
    private String boxCode;

    /**
     * 物料单重
     * */
    @NotNull(message = "物料单重不能为空")
    private Double weight;

    /**
     * 入库数量
     * */
    @NotNull(message = "入库数量不能为空")
    private Integer unintCount;

    /**
     * 物料总重
     * */
    @NotNull(message = "物料总重不能为空")
    private Double totalWeight;
}
